home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_hylafax.idb / usr / freeware / man / cat1 / sendpage.Z / sendpage
Encoding:
Text File  |  1999-07-16  |  22.0 KB  |  462 lines

  1.  
  2.  
  3.  
  4. SSSSEEEENNNNDDDDPPPPAAAAGGGGEEEE((((1111))))       UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((MMMMaaaayyyy 11112222,,,, 1111999999996666))))        SSSSEEEENNNNDDDDPPPPAAAAGGGGEEEE((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      sendpage - submit a pager job for transmission
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      sssseeeennnnddddppppaaaaggggeeee [ _o_p_t_i_o_n_s ] [ _m_e_s_s_a_g_e...  ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _s_e_n_d_p_a_g_e submits a pager transmission request to a server
  16.      using the Simple Network Paging Protocol (SNPP) described in
  17.      RFC 1861.  Pager requests specified with _s_e_n_d_p_a_g_e are
  18.      normally processed immediately, although they may also be
  19.      queued for transmission at a later time using a syntax
  20.      identical to the _a_t(1) command.  For each job that is
  21.      queued, _s_e_n_d_p_a_g_e prints a _j_o_b _i_d_e_n_t_i_f_i_e_r on the standard
  22.      output.  A job identifier is the token by which jobs are
  23.      identified within _H_y_l_a_F_A_X.  Job identifiers can be supplied
  24.      to the _f_a_x_r_m(1) command to remove the jobs or to the
  25.      _f_a_x_a_l_t_e_r(1) command to alter job parameters.
  26.  
  27.      Pages may be sent to one or more destination paging
  28.      terminals and, optionally, include a text message (depending
  29.      on the capability of the receiving device).  Each
  30.      destination is identified by a Pager Identification Number
  31.      (PIN) specified with the ----pppp option; for example, sendpage -p
  32.      12345 ``Help, the fax machine is on fire!''.  A PIN is
  33.      typically a numeric string though it may also be an alpha-
  34.      numeric alias depending on the capabilities of the SNPP
  35.      server.
  36.  
  37.      Text messages can be specified on the command line or taken
  38.      from standard input.  The ----nnnn option must be used if no text
  39.      message is to be supplied with the page request-as for a
  40.      numeric-only pager.  Text supplied to the paging system is
  41.      sent exactly as submitted including any newline, carriage
  42.      return, or non-ASCII data.  Message preparation including
  43.      filtering and formatting must be done prior to submitting
  44.      the data to _s_e_n_d_p_a_g_e.  Note that text supplied on the
  45.      command line does not include a trailing newline character.
  46.  
  47.      The order of options on the command line is significant.
  48.      Each page to be transmitted is assigned the current value of
  49.      parameters specified on the command line; e.g. whether or
  50.      not to queue the request.  This means that options that
  51.      specify parameters for a particular destination must precede
  52.      the pager ID specified with the ----pppp option.  For example,
  53.  
  54.           sendpage -l 2 -p sam Your network is hosed
  55.  
  56.      submits a page to ``sam'' that has service level 2 while
  57.  
  58.           sendpage -p sam -l 2 Your network is hosed
  59.  
  60.  
  61.  
  62.  
  63. Page 1                                          (printed 6/24/99)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSEEEENNNNDDDDPPPPAAAAGGGGEEEE((((1111))))       UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((MMMMaaaayyyy 11112222,,,, 1111999999996666))))        SSSSEEEENNNNDDDDPPPPAAAAGGGGEEEE((((1111))))
  71.  
  72.  
  73.  
  74.      submits the same page but with the default service level
  75.      (1).  Note also that parameter values persist across ----pppp
  76.      options so the following
  77.  
  78.           sendpage -l 0 -p sam -p 5551212 Your network is hosed
  79.  
  80.      submits two pages, both of which have service level 0.
  81.  
  82. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  83.      ----aaaa _t_i_m_e     Schedule transmission at the indicated _t_i_m_e.
  84.                  Times are specified using the syntax of the
  85.                  _a_t(1) command; e.g. ``now + 30 minutes'' to
  86.                  schedule transmission 30 minutes in the future.
  87.                  By default, _s_e_n_d_p_a_g_e schedules pages for
  88.                  ``now''.  (In SNPP parlance this option
  89.                  specifies the ``hold time'' for the page; and
  90.                  may result in the page being delivered to the
  91.                  paging terminal but not delivered to the user
  92.                  until the specified time.)
  93.  
  94.      ----DDDD          Enable notification by electronic mail when the
  95.                  page has been delivered to the service provider.
  96.                  This option is meaningful only when
  97.                  communicating with a _H_y_l_a_F_A_X server.
  98.  
  99.      ----ffff _f_r_o_m     Use _f_r_o_m as the identity of the message sender.
  100.                  Otherwise the sender is the user that invoked
  101.                  _s_e_n_d_p_a_g_e.  The sender is an account name to
  102.                  which the _H_y_l_a_F_A_X software should direct email
  103.                  notification messages.  The _f_r_o_m identity may be
  104.                  a fullblown ``From:'' line, e.g.  e.g. ``Joe
  105.                  Blow <joe@foo.com>'' and ``joe@foo.com (Joe
  106.                  Blow)'' are acceptable.  If no host-part is
  107.                  specified in the _f_r_o_m string the local hostname
  108.                  is used.  This option is useful when _s_e_n_d_p_a_g_e is
  109.                  invoked on behalf of another user, such as in
  110.                  the implementation of an electronic mail to
  111.                  pager gateway.
  112.  
  113.      ----hhhh [_m_o_d_e_m@]_h_o_s_t[:_p_o_r_t]
  114.                  Force the jobs to be processed on a specific
  115.                  _h_o_s_t and, optionally, using a particular _m_o_d_e_m.
  116.                  The _h_o_s_t may be either a symbolic name or a
  117.                  network address.  If no ----hhhh option is supplied,
  118.                  _s_e_n_d_p_a_g_e uses the SNPPSERVER environment
  119.                  variable to identify the SNPP server to which
  120.                  the pages should be directed.  If no server is
  121.                  specified then _s_e_n_d_p_a_g_e attempts to contact a
  122.                  server on the local host.  If no modem is
  123.                  specified, the job will be submitted to any
  124.                  available modem.
  125.  
  126.  
  127.  
  128.  
  129. Page 2                                          (printed 6/24/99)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. SSSSEEEENNNNDDDDPPPPAAAAGGGGEEEE((((1111))))       UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((MMMMaaaayyyy 11112222,,,, 1111999999996666))))        SSSSEEEENNNNDDDDPPPPAAAAGGGGEEEE((((1111))))
  137.  
  138.  
  139.  
  140.      ----IIII time     If a job must be requeued because of a
  141.                  communication failure schedule the retry
  142.                  according to the specified _t_i_m_e.  Times are
  143.                  given in seconds.  Minutes, hours, and days can
  144.                  be specified with ``_m_i_n'', ``_h_o_u_r'', and ``_d_a_y''
  145.                  suffixes, respectively.  By default _H_y_l_a_F_A_X
  146.                  reschedules jobs using retry times that depend
  147.                  on the manner in which the job failed; this
  148.                  interface permits a user to override this
  149.                  algorithm and specify a single fixed retry time
  150.                  for all communication failures.  This option is
  151.                  meaningful only when communicating with a
  152.                  _H_y_l_a_F_A_X server.
  153.  
  154.      ----llll level    Specify a particular service _l_e_v_e_l to use in
  155.                  delivering a page.  A service level defines both
  156.                  a scheduling priority and the time that a client
  157.                  is willing to wait to find out if delivery is
  158.                  successful or not.  Normal delivery is obtained
  159.                  with level 1 (default).  The  specification
  160.                  identifies level 0 as the highest priority
  161.                  service level with levels 1-7 lower priority and
  162.                  levels 8-11 vendor/server-specific.  For _H_y_l_a_F_A_X
  163.                  server machines the mapping between service
  164.                  level and scheduling priority is defined by the
  165.                  configuration of the SNPP server process; see
  166.                  the PPPPrrrriiiioooorrrriiiittttyyyyMMMMaaaapppp parameter in _h_f_a_x_d(1M)
  167.  
  168.      ----nnnn          Send to a numeric-only paging device; i.e. do
  169.                  not send a text message in the paging request.
  170.  
  171.      ----NNNN          Do not notify the sender by electronic mail when
  172.                  the page has been delivered to the service
  173.                  provider (default).  This option is meaningful
  174.                  only when communicating with a _H_y_l_a_F_A_X server.
  175.  
  176.      ----pppp _P_I_N      The Pager Identification Number (PIN) for a
  177.                  terminal that is to receive the message.  A
  178.                  message can be sent to multiple destinations by
  179.                  specifiying multiple ----pppp options.
  180.  
  181.      ----qqqq          Mark pages to be queued on the server and do not
  182.                  wait for their delivery.  By default _s_e_n_d_p_a_g_e
  183.                  conforms to the SNPP spec by synchronously
  184.                  waiting for each page to be delivered.  This
  185.                  option instructs _s_e_n_d_p_a_g_e to submit one or pages
  186.                  and then terminate immediately without waiting
  187.                  for their completion.  When pages are queued it
  188.                  is advisable to enable email notification with
  189.                  the ----DDDD or ----RRRR options.  Job queueing is a non-
  190.                  standard function of the SNPP implementation in
  191.                  _H_y_l_a_F_A_X and is not available when submitting
  192.  
  193.  
  194.  
  195. Page 3                                          (printed 6/24/99)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. SSSSEEEENNNNDDDDPPPPAAAAGGGGEEEE((((1111))))       UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((MMMMaaaayyyy 11112222,,,, 1111999999996666))))        SSSSEEEENNNNDDDDPPPPAAAAGGGGEEEE((((1111))))
  203.  
  204.  
  205.  
  206.                  pages to non-_H_y_l_a_F_A_X servers.
  207.  
  208.      ----RRRR          Enable notification by electronic mail when the
  209.                  message has been delivered and when it is
  210.                  requeued for retransmission.  _H_y_l_a_F_A_X will
  211.                  always notify the sender by electronic mail if
  212.                  there is problem delivering a page (irregardless
  213.                  of the email notification setting).  This option
  214.                  is meaningful only when communicating with a
  215.                  _H_y_l_a_F_A_X server.
  216.  
  217.      ----ssss _s_u_b_j_e_c_t  Set the ``subject'' for the specified pages
  218.                  according to _s_u_b_j_e_c_t.  For _H_y_l_a_F_A_X _s_u_b_j_e_c_t is
  219.                  used as the identifier string returned in any
  220.                  email notification messages (instead of the
  221.                  usual job identifier number).  This option is
  222.                  useful for applications that cross reference
  223.                  notification messages against job submissions.
  224.  
  225.      ----tttt _t_r_i_e_s    Make no more than _t_r_i_e_s attempts to send the
  226.                  page.  By default, _H_y_l_a_F_A_X will terminate a job
  227.                  if:  3 consecutive attempts to send a particular
  228.                  message fail, or it appears the receiver is not
  229.                  a service provider.  Otherwise _H_y_l_a_F_A_X places no
  230.                  limit on the _n_u_m_b_e_r of attempts to send a page,
  231.                  instead terminating a job if it is not completed
  232.                  within a fixed period of time specified by the
  233.                  service level.  Note that a try is a phone call
  234.                  in which carrier is established and the IXO/TAP
  235.                  or UCP protocol is commenced; this is contrasted
  236.                  with a call attempt that might have failed
  237.                  because the line was busy.  This option is
  238.                  meaningful only when communicating with a
  239.                  _H_y_l_a_F_A_X server.
  240.  
  241.      ----TTTT _d_i_a_l_s    Make no more than _d_i_a_l_s phone calls when
  242.                  attempting to send a page.  By default, _H_y_l_a_F_A_X
  243.                  will terminate a job if:  12 attempts to reach a
  244.                  service provider fail, or it appears the
  245.                  receiver is not a service provider.  Otherwise
  246.                  _H_y_l_a_F_A_X terminates a job if it is not completed
  247.                  within a fixed period of time specified by the
  248.                  _s_e_r_v_i_c_e _l_e_v_e_l.  This option is meaningful only
  249.                  when communicating with a _H_y_l_a_F_A_X server.
  250.  
  251.      ----vvvv          Trace the protocol between _s_e_n_d_p_a_g_e and the SNPP
  252.                  server process that does the delivery work on
  253.                  the remote machine.  This information is
  254.                  directed to the standard output.
  255.  
  256. CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  257.      _s_e_n_d_p_a_g_e reads configuration information from the files
  258.  
  259.  
  260.  
  261. Page 4                                          (printed 6/24/99)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. SSSSEEEENNNNDDDDPPPPAAAAGGGGEEEE((((1111))))       UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((MMMMaaaayyyy 11112222,,,, 1111999999996666))))        SSSSEEEENNNNDDDDPPPPAAAAGGGGEEEE((((1111))))
  269.  
  270.  
  271.  
  272.      ////uuuussssrrrr////ffffrrrreeeeeeeewwwwaaaarrrreeee////lllliiiibbbb////ffffaaaaxxxx////hhhhyyyyllllaaaa....ccccoooonnnnffff,
  273.      ////uuuussssrrrr////ffffrrrreeeeeeeewwwwaaaarrrreeee////lllliiiibbbb////ffffaaaaxxxx////sssseeeennnnddddppppaaaaggggeeee....ccccoooonnnnffff, and ~~~~////....hhhhyyyyllllaaaarrrrcccc; in that
  274.      order.  Configuration files follow the conventions described
  275.      in _h_y_l_a_f_a_x(1).  The following configuration parameters are
  276.      recognized:
  277.      TTTTaaaagggg             TTTTyyyyppppeeee       DDDDeeeeffffaaaauuuulllltttt      DDDDeeeessssccccrrrriiiippppttttiiiioooonnnn
  278.      HoldTime        string     -            hold time to assign to pages
  279.      Host            string     localhost    host to contact for service
  280.      MailAddr        string     -            mail address for notification messages
  281.      MaxDials        integer    12           times to retry dialing
  282.      MaxTries        integer    3            times to retry transmission
  283.      Notify          string     none         control email notification
  284.      Port            integer    444          port to use in contacting server
  285.      Protocol        string     tcp          protocol to use in contacting server
  286.      QueueSend       boolean    No           whether or not to queue pages
  287.      RetryTime       string     -            delay between failed attempts to send
  288.      ServiceLevel    integer                 SNPP service level for pages
  289.      Verbose         boolean    No           whether or not to enable protocol tracing
  290.  
  291.      The configuration parameters are explained below:
  292.  
  293.      HHHHoooollllddddTTTTiiiimmmmeeee       The hold time to assign to pages.
  294.                     (Equivalent to the ----aaaa option.)
  295.  
  296.      HHHHoooosssstttt           The host to contact for service.  (Equivalent
  297.                     to the ----hhhh option.)
  298.  
  299.      MMMMaaaaiiiillllAAAAddddddddrrrr       The electronic mail address to direct
  300.                     notification messages from the server.  If
  301.                     this string is specified without an
  302.                     ``@hostname'' part then the local hostname
  303.                     will automatically be appended.  (Equivalent
  304.                     to the ----ffff option.)
  305.  
  306.      MMMMaaaaxxxxDDDDiiiiaaaallllssss       The maximum number of times to dial the phone
  307.                     for each job.  (Equivalent to the ----TTTT option.)
  308.  
  309.      MMMMaaaaxxxxTTTTrrrriiiieeeessss       The maximum number of times to retry sending
  310.                     a job.  (Equivalent to the ----tttt option.)
  311.  
  312.      NNNNoooottttiiiiffffyyyy         Control the email notification messages from
  313.                     the server.  This string may be one of
  314.                     ``done'', ``none'', ``requeued'' or
  315.                     ``default'' with an optionally preceding
  316.                     ``when '' (e.g. ``when done'').  Note that
  317.                     ``when requeued'' implies ``when done''.
  318.                     (Equivalent to the ----DDDD, ----RRRR, and ----NNNN options.)
  319.  
  320.      PPPPoooorrrrtttt           The network port to contact for service.
  321.                     (Eqvuialent to the ----hhhh option.)
  322.  
  323.  
  324.  
  325. Page 5                                          (printed 6/24/99)
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332. SSSSEEEENNNNDDDDPPPPAAAAGGGGEEEE((((1111))))       UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((MMMMaaaayyyy 11112222,,,, 1111999999996666))))        SSSSEEEENNNNDDDDPPPPAAAAGGGGEEEE((((1111))))
  333.  
  334.  
  335.  
  336.      PPPPrrrroooottttooooccccoooollll       The name of the communication protocol to use
  337.                     when contacting a server.  (Equivalent to the
  338.                     SSSSNNNNPPPPPPPPSSSSEEEERRRRVVVVIIIICCCCEEEE environment variable.)
  339.  
  340.      QQQQuuuueeeeuuuueeeeSSSSeeeennnndddd      Control whether or not to wait for the pages
  341.                     to be delivered.  (Equivalent to the ----qqqq
  342.                     option.)
  343.  
  344.      RRRReeeettttrrrryyyyTTTTiiiimmmmeeee      The time to delay between job retries due to
  345.                     a communication failure.  (Equivalent to the
  346.                     ----IIII option.)
  347.  
  348.      SSSSeeeerrrrvvvviiiicccceeeeLLLLeeeevvvveeeellll   The SNPP service level to assign to each
  349.                     page.  (Equivalent to the ----llll option.)
  350.  
  351.      VVVVeeeerrrrbbbboooosssseeee        Control protocol tracing.  (Equivalent to the
  352.                     ----vvvv option.)
  353.  
  354. EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
  355.      The following environment variables are used by _s_e_n_d_p_a_g_e:
  356.  
  357.      SSSSNNNNPPPPPPPPSSSSEEEERRRRVVVVEEEERRRR     The identity of the SNPP server to contact
  358.                     for service.  This value is specified as
  359.                     ``[_m_o_d_e_m@]_h_o_s_t[:_p_o_r_t]'' where _h_o_s_t is either
  360.                     a host name or the Internet ``.'' (dot)
  361.                     address of the host; _p_o_r_t is the TCP port
  362.                     number or service name to use (default is
  363.                     ``snpp'' or 444); and _m_o_d_e_m is an optional
  364.                     modem name or class on the server machine to
  365.                     use in processing the requests (this is
  366.                     meaningful only when the server is running
  367.                     _H_y_l_a_F_A_X).
  368.  
  369.      SSSSNNNNPPPPPPPPSSSSEEEERRRRVVVVIIIICCCCEEEE    The communication service specification for
  370.                     communicating with the SNPP server.  This
  371.                     value is specified as ``_p_o_r_t[/_p_r_o_t_o_c_o_l]''; by
  372.                     default ``444/tcp''.
  373.  
  374. FFFFIIIILLLLEEEESSSS
  375.      /usr/tmp/sndpageXXXXXX    temporary files
  376.  
  377. NNNNOOOOTTTTEEEESSSS
  378.      The phone number of the pager service provider is stored on
  379.      the server machine and is not specified by the user; this is
  380.      a departure from pager support that was supplied with
  381.      _H_y_l_a_F_A_X version 3.0.
  382.  
  383.      _H_y_l_a_F_A_X version 3.0 used to recognize a null text message
  384.      and assume the destination paging device was numeric-only.
  385.      This is no longer true; if a null text message is submitted
  386.      then a null message will be included in the paging request.
  387.      This may cause paging requests submitted to ``real SNPP''
  388.  
  389.  
  390.  
  391. Page 6                                          (printed 6/24/99)
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398. SSSSEEEENNNNDDDDPPPPAAAAGGGGEEEE((((1111))))       UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((MMMMaaaayyyy 11112222,,,, 1111999999996666))))        SSSSEEEENNNNDDDDPPPPAAAAGGGGEEEE((((1111))))
  399.  
  400.  
  401.  
  402.      servers to be rejected if the paging device is in fact
  403.      numeric-only.  When sending to a numeric-only paging device
  404.      the ----nnnn option should be used.
  405.  
  406. BBBBUUUUGGGGSSSS
  407.      It is not possible to page text- and non-text devices
  408.      together; _s_e_n_d_p_a_g_e must be run twice, once to send to text-
  409.      capable devices and once to send to non-text devices.
  410.  
  411. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  412.      _a_t(1), _h_y_l_a_f_a_x(1), _f_a_x_a_l_t_e_r(1), _f_a_x_r_m(1), _f_a_x_s_t_a_t(1),
  413.      _f_a_x_q(1M), _h_f_a_x_d(1M), _h_y_l_a_f_a_x(4F)
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457. Page 7                                          (printed 6/24/99)
  458.  
  459.  
  460.  
  461.